package work20241203_chap6oop.q_demo14.a;

/**
 * @author zdl
 * @date 2024/12/5
 */
public class MySuperClass {
    protected int value;

    public MySuperClass() {
    }

    public MySuperClass(int value) {
        this.value = value;
    }

    /**
     * 获取
     * @return value
     */
    public int getValue() {
        return value;
    }

    /**
     * 设置
     * @param value
     */
    public void setValue(int value) {
        this.value = value;
    }

    public String toString() {
        return "MySuperClass{value = " + value + "}";
    }
}
